// server.js
var express = require('express');
var path    = require('path');
var app = express();
var router = express.Router();
router.get('*', function(req, res, next) {res.render('index');});
router.get('/', function(req, res, next) {res.render('index');});
app.use(express.static(path.join(__dirname, 'src')));
app.use(require('prerender-node').set('prerenderToken', 'YOUR_TOKEN'));
app.listen(8081);
console.log("Go:8081");